package com.wskeee.ec.components.skin
{
	import com.wskeee.ec.styles.Icons;

	public class VScrollBarSkin extends BaseScrollBarSkin
	{
		override public function redraw():void
		{
			upArrowIcon = Icons.vScrollArrowUpIcon;
			downArrowIcon = Icons.vScrollArrowDownIcon;
			thumbIcon = Icons.vScrollThumbIcon;
			super.redraw();
		}
		//========================= redraw ========================
		override public function validateDisplayList():void
		{
			track.width = bar.width;
			track.height = bar.height-upArrow.height-downArrow.height;
			//重画高度
			thumb.width = upArrow.width = downArrow.width = bar.width;
			super.validateDisplayList();
		}
		//========================= end =========================
	}
}